package org.UserHouse.entity;

import org.UserHouse.Utils.Dbutils;

import java.util.Date;

/**
 * 用户类
 *
 * @author bin
 * @date 2024-11-26
 */
public class User {
    private int Uid;
    private String Uname;
    private String Upassword;
    private String Uphone;
    private String Uemail;
    private String Utype;
    private Date Udate;

    public User() {
    }


    public User(int uid, String uname, String upassword, String uphone, String uemail, String utype, Date udate) {
        Uid = uid;
        Uname = uname;
        Upassword = upassword;
        Uphone = uphone;
        Uemail = uemail;
        Utype = utype;
        Udate = udate;
    }

    public int getUid() {
        return Uid;
    }

    public void setUid(int uid) {
        Uid = uid;
    }

    public String getUname() {
        return Uname;
    }

    public void setUname(String uname) {
        Uname = uname;
    }

    public String getUpassword() {
        return Upassword;
    }

    public void setUpassword(String upassword) {
        Upassword = upassword;
    }

    public String getUphone() {
        return Uphone;
    }

    public void setUphone(String uphone) {
        Uphone = uphone;
    }

    public String getUemail() {
        return Uemail;
    }

    public void setUemail(String uemail) {
        Uemail = uemail;
    }

    public String getUtype() {
        return Utype;
    }

    public void setUtype(String utype) {
        Utype = utype;
    }

    public Date getUdate() {
        return Udate;
    }

    public void setUdate(Date udate) {
        Udate = udate;
    }
}
